﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace mrp16062010.Uretec
{
    [Serializable()]
    class AralikSaat : ISerializable
    {
        public SaatTanim Min { get; set; }
        public SaatTanim Max { get; set; }
        public AralikSaat(SaatTanim min, SaatTanim max)
        {
            this.Min = min;
            this.Max = max;
        }

        public AralikSaat (SerializationInfo info, StreamingContext ctxt)
        {
            Serialize.InfoCopier.Read(info, this);
        }

        public void GetObjectData(SerializationInfo info, StreamingContext context)
        {
            Serialize.InfoCopier.Write(info, this);
        }
    }
}
